﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RMS.Utils.Dicom
{
    public static class DicomDictionary
    {
        #region [DicomDataDictionary]
        /// <summary>
        /// Dicom tags data dictionary
        /// </summary>
        private static Dictionary<string, string> dict = new Dictionary<string, string>()
        {
            {"(0002,0000)", "Group Length UL "},
            {"(0002,0001)", "File Meta Information Version"},
            {"(0002,0002)", "UIMedia Storage SOP Class UID"}, 
            {"(0002,0003)", "UIMedia Storage SOP Inst UID"},
            {"(0002,0010)", "UITransfer Syntax UID"},
            {"(0002,0012)", "UIImplementation Class UID"},
            {"(0002,0013)", "SHImplementation Version Name"},
            {"(0002,0016)", "AESource Application Entity Title"},
		
            {"(0008,0005)", "CSSpecific Character Set"},
            {"(0008,0008)", "CSImage Type"},
            {"(0008,0010)", "CSRecognition Code"},
            {"(0008,0012)", "DAInstance Creation Date"},
            {"(0008,0013)", "TMInstance Creation Time"},
            {"(0008,0014)", "UIInstance Creator UID"},
            {"(0008,0016)", "UISOP Class UID"},
            {"(0008,0018)", "UISOP Instance UID"},
            {"(0008,0020)", "DAStudy Date"},
            {"(0008,0021)", "DASeries Date"},
            {"(0008,0022)", "DAAcquisition Date"},
            {"(0008,0023)", "DAContent Date"},
            {"(0008,0024)", "DAOverlay Date"},
            {"(0008,0025)", "DACurve Date"},
            {"(0008,0030)", "TMStudy Time"},
            {"(0008,0031)", "TMSeries Time"},
            {"(0008,0032)", "TMAcquisition Time"},
            {"(0008,0033)", "TMContent Time"},
            {"(0008,0034)", "TMOverlay Time"},
            {"(0008,0035)", "TMCurve Time"},
            {"(0008,0041)", "LOData Set Subtype"},
            {"(0008,0042)", "CSNuclear Medicine Series Type"},
            {"(0008,0050)", "SHAccession Number"},
            {"(0008,0052)", "CSQuery/Retrieve Level"},
            {"(0008,0054)", "AERetrieve AE Title"},
            {"(0008,0058)", "AEFailed SOP Instance UID List"},
            {"(0008,0060)", "CSModality"},
            {"(0008,0064)", "CSConversion Type"},
            {"(0008,0068)", "CSPresentation Intent Type"},
            {"(0008,0070)", "LOManufacturer"},
            {"(0008,0080)", "LOInstitution Name"},
            {"(0008,0081)", "STInstitution Address"},
            {"(0008,0082)", "SQInstitution Code Sequence"},
            {"(0008,0090)", "PNReferring Physician's Name"},
            {"(0008,0092)", "STReferring Physician's Address"},
            {"(0008,0094)", "SHReferring Physician's Telephone Numbers"},
            {"(0008,0100)", "SHCode Value"},
            {"(0008,0102)", "SHCoding Scheme Designator"},
            {"(0008,0104)", "LOCode Meaning"},
            {"(0008,0201)", "SHTimezone Offset From UTC"},
            {"(0008,1010)", "SHStation Name"},
            {"(0008,1030)", "LOStudy Description"},
            {"(0008,1032)", "SQProcedure Code Sequence"},
            {"(0008,103E)", "LOSeries Description"},
            {"(0008,1040)", "LOInstitutional Department Name"},
            {"(0008,1048)", "PNPhysician(s) of Record"},
            {"(0008,1050)", "PNAttending Physician's Name"},
            {"(0008,1060)", "PNName of Physician(s) Reading Study"},
            {"(0008,1070)", "PNOperator's Name"},
            {"(0008,1080)", "LOAdmitting Diagnosis Description"},
            {"(0008,1084)", "SQAdmitting Diagnosis Code Sequence"},
            {"(0008,1090)", "LOManufacturer's Model Name"},
            {"(0008,1100)", "SQReferenced Results Sequence"},
            {"(0008,1110)", "SQReferenced Study Sequence"},
            {"(0008,1111)", "SQReferenced Study Component Sequence"},
            {"(0008,1115)", "SQReferenced Series Sequence"},
            {"(0008,1120)", "SQReferenced Patient Sequence"},
            {"(0008,1125)", "SQReferenced Visit Sequence"},
            {"(0008,1130)", "SQReferenced Overlay Sequence"},
            {"(0008,1140)", "SQReferenced Image Sequence"},
            {"(0008,1145)", "SQReferenced Curve Sequence"},
            {"(0008,1150)", "UIReferenced SOP Class UID"},
            {"(0008,1155)", "UIReferenced SOP Instance UID"},
            {"(0008,2111)", "STDerivation Description"},
            {"(0008,2112)", "SQSource Image Sequence"},
            {"(0008,2120)", "SHStage Name"},
            {"(0008,2122)", "ISStage Number"},
            {"(0008,2124)", "ISNumber of Stages"},
            {"(0008,2129)", "ISNumber of Event Timers"},
            {"(0008,2128)", "ISView Number"},
            {"(0008,212A)", "ISNumber of Views in Stage"},
            {"(0008,2130)", "DSEvent Elapsed Time(s)"},
            {"(0008,2132)", "LOEvent Timer Name(s)"},
            {"(0008,2142)", "ISStart Trim"},
            {"(0008,2143)", "ISStop Trim"},
            {"(0008,2144)", "ISRecommended Display Frame Rate"},
            {"(0008,2200)", "CSTransducer Position"},
            {"(0008,2204)", "CSTransducer Orientation"},
            {"(0008,2208)", "CSAnatomic Structure"},

            {"(0010,0010)", "PNPatient's Name"},
            {"(0010,0020)", "LOPatient ID"},
            {"(0010,0021)", "LOIssuer of Patient ID"},
            {"(0010,0030)", "DAPatient's Birth Date"},
            {"(0010,0032)", "TMPatient's Birth Time"},
            {"(0010,0040)", "CSPatient's Sex"},
            {"(0010,1000)", "LOOther Patient IDs"},
            {"(0010,1001)", "PNOther Patient Names"},
            {"(0010,1005)", "PNPatient's Maiden Name"},
            {"(0010,1010)", "ASPatient's Age"},
            {"(0010,1020)", "DSPatient's Size"},
            {"(0010,1030)", "DSPatient's Weight"},
            {"(0010,1040)", "LOPatient's Address"},
            {"(0010,2150)", "LOCountry of Residence"},
            {"(0010,2152)", "LORegion of Residence"},
            {"(0010,2180)", "SHOccupation"},
            {"(0010,21A0)", "CSSmoking Status"},
            {"(0010,21B0)", "LTAdditional Patient History"},
			{"(0010,2201)", "LOPatient Species Description"}, // Ver 2009 - Dicom Standard
			{"(0010,2203)", "CSPatient Sex Neutered"}, // Ver 2009 - Dicom Standard
			{"(0010,2292)", "LOPatient Breed Description"}, // Ver 2009 - Dicom Standard
			{"(0010,2297)", "PNResponsible Person"}, // Ver 2009 - Dicom Standard
			{"(0010,2298)", "CSResponsible Person Role"}, // Ver 2009 - Dicom Standard
			{"(0010,2299)", "CSResponsible Organization"}, // Ver 2009 - Dicom Standard

            {"(0010,4000)", "LTPatient Comments"},

            {"(0018,0010)", "LOContrast/Bolus Agent"},
            {"(0018,0015)", "CSBody Part Examined"},
            {"(0018,0020)", "CSScanning Sequence"},
            {"(0018,0021)", "CSSequence Variant"},
            {"(0018,0022)", "CSScan Options"},
            {"(0018,0023)", "CSMR Acquisition Type"},
            {"(0018,0024)", "SHSequence Name"},
            {"(0018,0025)", "CSAngio Flag"},
            {"(0018,0030)", "LORadionuclide"},
            {"(0018,0031)", "LORadiopharmaceutical"},
            {"(0018,0032)", "DSEnergy Window Centerline"},
            {"(0018,0033)", "DSEnergy Window Total Width"},
            {"(0018,0034)", "LOIntervention Drug Name"},
            {"(0018,0035)", "TMIntervention Drug Start Time"},
            {"(0018,0040)", "ISCine Rate"},
            {"(0018,0050)", "DSSlice Thickness"},
            {"(0018,0060)", "DSkVp"},
            {"(0018,0070)", "ISCounts Accumulated"},
            {"(0018,0071)", "CSAcquisition Termination Condition"},
            {"(0018,0072)", "DSEffective Series Duration"},
            {"(0018,0073)", "CSAcquisition Start Condition"},
            {"(0018,0074)", "ISAcquisition Start Condition Data"},
            {"(0018,0075)", "ISAcquisition Termination Condition Data"},
            {"(0018,0080)", "DSRepetition Time"},
            {"(0018,0081)", "DSEcho Time"},
            {"(0018,0082)", "DSInversion Time"},
            {"(0018,0083)", "DSNumber of Averages"},
            {"(0018,0084)", "DSImaging Frequency"},
            {"(0018,0085)", "SHImaged Nucleus"},
            {"(0018,0086)", "ISEcho Numbers(s)"},
            {"(0018,0087)", "DSMagnetic Field Strength"},
            {"(0018,0088)", "DSSpacing Between Slices"},
            {"(0018,0089)", "ISNumber of Phase Encoding Steps"},
            {"(0018,0090)", "DSData Collection Diameter"},
            {"(0018,0091)", "ISEcho Train Length"},
            {"(0018,0093)", "DSPercent Sampling"},
            {"(0018,0094)", "DSPercent Phase Field of View"},
            {"(0018,0095)", "DSPixel Bandwidth"},
            {"(0018,1000)", "LODevice Serial Number"},
            {"(0018,1004)", "LOPlate ID"},
            {"(0018,1010)", "LOSecondary Capture Device ID"},
            {"(0018,1012)", "DADate of Secondary Capture"},
            {"(0018,1014)", "TMTime of Secondary Capture"},
            {"(0018,1016)", "LOSecondary Capture Device Manufacturer"},
            {"(0018,1018)", "LOSecondary Capture Device Manufacturer's Model Name"},
            {"(0018,1019)", "LOSecondary Capture Device Software Version(s)"},
            {"(0018,1020)", "LOSoftware Versions(s)"},
            {"(0018,1022)", "SHVideo Image Format Acquired"},
            {"(0018,1023)", "LODigital Image Format Acquired"},
            {"(0018,1030)", "LOProtocol Name"},
            {"(0018,1040)", "LOContrast/Bolus Route"},
            {"(0018,1041)", "DSContrast/Bolus Volume"},
            {"(0018,1042)", "TMContrast/Bolus Start Time"},
            {"(0018,1043)", "TMContrast/Bolus Stop Time"},
            {"(0018,1044)", "DSContrast/Bolus Total Dose"},
            {"(0018,1045)", "ISSyringe Counts"},
            {"(0018,1050)", "DSSpatial Resolution"},
            {"(0018,1060)", "DSTrigger Time"},
            {"(0018,1061)", "LOTrigger Source or Type"},
            {"(0018,1062)", "ISNominal Interval"},
            {"(0018,1063)", "DSFrame Time"},
            {"(0018,1064)", "LOFraming Type"},
            {"(0018,1065)", "DSFrame Time Vector"},
            {"(0018,1066)", "DSFrame Delay"},
            {"(0018,1070)", "LORadionuclide Route"},
            {"(0018,1071)", "DSRadionuclide Volume"},
            {"(0018,1072)", "TMRadionuclide Start Time"},
            {"(0018,1073)", "TMRadionuclide Stop Time"},
            {"(0018,1074)", "DSRadionuclide Total Dose"},
            {"(0018,1075)", "DSRadionuclide Half Life"},
            {"(0018,1076)", "DSRadionuclide Positron Fraction"},
            {"(0018,1080)", "CSBeat Rejection Flag"},
            {"(0018,1081)", "ISLow R-R Value"},
            {"(0018,1082)", "ISHigh R-R Value"},
            {"(0018,1083)", "ISIntervals Acquired"},
            {"(0018,1084)", "ISIntervals Rejected"},
            {"(0018,1085)", "LOPVC Rejection"},
            {"(0018,1086)", "ISSkip Beats"},
            {"(0018,1088)", "ISHeart Rate"},
            {"(0018,1090)", "ISCardiac Number of Images"},
            {"(0018,1094)", "ISTrigger Window"},
            {"(0018,1100)", "DSReconstruction Diameter"},
            {"(0018,1110)", "DSDistance Source to Detector"},
            {"(0018,1111)", "DSDistance Source to Patient"},
            {"(0018,1120)", "DSGantry/Detector Tilt"},
            {"(0018,1130)", "DSTable Height"},
            {"(0018,1131)", "DSTable Traverse"},
            {"(0018,1140)", "CSRotation Direction"},
            {"(0018,1141)", "DSAngular Position"},
            {"(0018,1142)", "DSRadial Position"},
            {"(0018,1143)", "DSScan Arc"},
            {"(0018,1144)", "DSAngular Step"},
            {"(0018,1145)", "DSCenter of Rotation Offset"},
            {"(0018,1146)", "DSRotation Offset"},
            {"(0018,1147)", "CSField of View Shape"},
            {"(0018,1149)", "ISField of View Dimensions(s)"},
            {"(0018,1150)", "ISExposure Time"},
            {"(0018,1151)", "ISX-ray Tube Current"},
            {"(0018,1152)", "ISExposure"},
            {"(0018,1153)", "ISExposure in uAs"},
            {"(0018,1154)", "DSAverage Pulse Width"},
            {"(0018,1155)", "CSRadiation Setting"},
            {"(0018,1156)", "CSRectification Type"},
            {"(0018,115A)", "CSRadiation Mode"},
            {"(0018,115E)", "DSImage Area Dose Product"},
            {"(0018,1160)", "SHFilter Type"},
            {"(0018,1161)", "LOType of Filters"},
            {"(0018,1162)", "DSIntensifier Size"},
            {"(0018,1164)", "DSImager Pixel Spacing"},
            {"(0018,1166)", "CSGrid"},
            {"(0018,1170)", "ISGenerator Power"},
            {"(0018,1180)", "SHCollimator/grid Name"},
            {"(0018,1181)", "CSCollimator Type"},
            {"(0018,1182)", "ISFocal Distance"},
            {"(0018,1183)", "DSX Focus Center"},
            {"(0018,1184)", "DSY Focus Center"},
            {"(0018,1190)", "DSFocal Spot(s)"},
            {"(0018,1191)", "CSAnode Target Material"},
            {"(0018,11A0)", "DSBody Part Thickness"},
            {"(0018,11A2)", "DSCompression Force"},
            {"(0018,1200)", "DADate of Last Calibration"},
            {"(0018,1201)", "TMTime of Last Calibration"},
            {"(0018,1210)", "SHConvolution Kernel"},
            {"(0018,1242)", "ISActual Frame Duration"},
            {"(0018,1243)", "ISCount Rate"},
            {"(0018,1250)", "SHReceiving Coil"},
            {"(0018,1251)", "SHTransmitting Coil"},
            {"(0018,1260)", "SHPlate Type"},
            {"(0018,1261)", "LOPhosphor Type"},
            {"(0018,1300)", "ISScan Velocity"},
            {"(0018,1301)", "CSWhole Body Technique"},
            {"(0018,1302)", "ISScan Length"},
            {"(0018,1310)", "USAcquisition Matrix"},
            {"(0018,1312)", "CSPhase Encoding Direction"},
            {"(0018,1314)", "DSFlip Angle"},
            {"(0018,1315)", "CSVariable Flip Angle Flag"},
            {"(0018,1316)", "DSSAR"},
            {"(0018,1318)", "DSdB/dt"},
            {"(0018,1400)", "LOAcquisition Device Processing Description"},
            {"(0018,1401)", "LOAcquisition Device Processing Code"},
            {"(0018,1402)", "CSCassette Orientation"},
            {"(0018,1403)", "CSCassette Size"},
            {"(0018,1404)", "USExposures on Plate"},
            {"(0018,1405)", "ISRelative X-ray Exposure"},
            {"(0018,1450)", "CSColumn Angulation"},
            {"(0018,1500)", "CSPositioner Motion"},
            {"(0018,1508)", "CSPositioner Type"},
            {"(0018,1510)", "DSPositioner Primary Angle"},
            {"(0018,1511)", "DSPositioner Secondary Angle"},
            {"(0018,1520)", "DSPositioner Primary Angle Increment"},
            {"(0018,1521)", "DSPositioner Secondary Angle Increment"},
            {"(0018,1530)", "DSDetector Primary Angle"},
            {"(0018,1531)", "DSDetector Secondary Angle"},
            {"(0018,1600)", "CSShutter Shape"},
            {"(0018,1602)", "ISShutter Left Vertical Edge"},
            {"(0018,1604)", "ISShutter Right Vertical Edge"},
            {"(0018,1606)", "ISShutter Upper Horizontal Edge"},
            {"(0018,1608)", "ISShutter Lower Horizontal Edge"},
            {"(0018,1610)", "ISCenter of Circular Shutter"},
            {"(0018,1612)", "ISRadius of Circular Shutter"},
            {"(0018,1620)", "ISVertices of the Polygonal Shutter"},
            {"(0018,1700)", "ISCollimator Shape"},
            {"(0018,1702)", "ISCollimator Left Vertical Edge"},
            {"(0018,1704)", "ISCollimator Right Vertical Edge"},
            {"(0018,1706)", "ISCollimator Upper Horizontal Edge"},
            {"(0018,1708)", "ISCollimator Lower Horizontal Edge"},
            {"(0018,1710)", "ISCenter of Circular Collimator"},
            {"(0018,1712)", "ISRadius of Circular Collimator"},
            {"(0018,1720)", "ISVertices of the Polygonal Collimator"},
            {"(0018,5000)", "SHOutput Power"},
            {"(0018,5010)", "LOTransducer Data"},
            {"(0018,5012)", "DSFocus Depth"},
            {"(0018,5020)", "LOPreprocessing Function"},
            {"(0018,5021)", "LOPostprocessing Function"},
            {"(0018,5022)", "DSMechanical Index"},
            {"(0018,5024)", "DSThermal Index"},
            {"(0018,5026)", "DSCranial Thermal Index"},
            {"(0018,5027)", "DSSoft Tissue Thermal Index"},
            {"(0018,5028)", "DSSoft Tissue-focus Thermal Index"},
            {"(0018,5029)", "DSSoft Tissue-surface Thermal Index"},
            {"(0018,5050)", "ISDepth of Scan Field"},
            {"(0018,5100)", "CSPatient Position"},
            {"(0018,5101)", "CSView Position"},
            {"(0018,5104)", "SQProjection Eponymous Name Code Sequence"},
            {"(0018,5210)", "DSImage Transformation Matrix"},
            {"(0018,5212)", "DSImage Translation Vector"},
            {"(0018,6000)", "DSSensitivity"},
            {"(0018,6011)", "SQSequence of Ultrasound Regions"},
            {"(0018,6012)", "USRegion Spatial Format"},
            {"(0018,6014)", "USRegion Data Type"},
            {"(0018,6016)", "ULRegion Flags"},
            {"(0018,6018)", "ULRegion Location Min X0"},
            {"(0018,601A)", "ULRegion Location Min Y0"},
            {"(0018,601C)", "ULRegion Location Max X1"},
            {"(0018,601E)", "ULRegion Location Max Y1"},
            {"(0018,6020)", "SLReference Pixel X0"},
            {"(0018,6022)", "SLReference Pixel Y0"},
            {"(0018,6024)", "USPhysical Units X Direction"},
            {"(0018,6026)", "USPhysical Units Y Direction"},
            {"(0018,1628)", "FDReference Pixel Physical Value X"},
            {"(0018,602A)", "FDReference Pixel Physical Value Y"},
            {"(0018,602C)", "FDPhysical Delta X"},
            {"(0018,602E)", "FDPhysical Delta Y"},
            {"(0018,6030)", "ULTransducer Frequency"},
            {"(0018,6031)", "CSTransducer Type"},
            {"(0018,6032)", "ULPulse Repetition Frequency"},
            {"(0018,6034)", "FDDoppler Correction Angle"},
            {"(0018,6036)", "FDSterring Angle"},
            {"(0018,6038)", "ULDoppler Sample Volume X Position"},
            {"(0018,603A)", "ULDoppler Sample Volume Y Position"},
            {"(0018,603C)", "ULTM-Line Position X0"},
            {"(0018,603E)", "ULTM-Line Position Y0"},
            {"(0018,6040)", "ULTM-Line Position X1"},
            {"(0018,6042)", "ULTM-Line Position Y1"},
            {"(0018,6044)", "USPixel Component Organization"},
            {"(0018,6046)", "ULPixel Component Mask"},
            {"(0018,6048)", "ULPixel Component Range Start"},
            {"(0018,604A)", "ULPixel Component Range Stop"},
            {"(0018,604C)", "USPixel Component Physical Units"},
            {"(0018,604E)", "USPixel Component Data Type"},
            {"(0018,6050)", "ULNumber of Table Break Points"},
            {"(0018,6052)", "ULTable of X Break Points"},
            {"(0018,6054)", "FDTable of Y Break Points"},
            {"(0018,6056)", "ULNumber of Table Entries"},
            {"(0018,6058)", "ULTable of Pixel Values"},
            {"(0018,605A)", "ULTable of Parameter Values"},
            {"(0018,7000)", "CSDetector Conditions Nominal Flag"},
            {"(0018,7001)", "DSDetector Temperature"},
            {"(0018,7004)", "CSDetector Type"},
            {"(0018,7005)", "CSDetector Configuration"},
            {"(0018,7006)", "LTDetector Description"},
            {"(0018,7008)", "LTDetector Mode"},
            {"(0018,700A)", "SHDetector ID"},
            {"(0018,700C)", "DADate of Last Detector Calibration"},
            {"(0018,700E)", "TMTime of Last Detector Calibration"},
            {"(0018,7010)", "ISExposures on Detector Since Last Calibration"},
            {"(0018,7011)", "ISExposures on Detector Since Manufactured"},
            {"(0018,7012)", "DSDetector Time Since Last Exposure"},
            {"(0018,7014)", "DSDetector Active Time"},
            {"(0018,7016)", "DSDetector Activation Offset From Exposure"},
            {"(0018,701A)", "DSDetector Binning"},
            {"(0018,7020)", "DSDetector Element Physical Size"},
            {"(0018,7022)", "DSDetector Element Spacing"},
            {"(0018,7024)", "CSDetector Active Shape"},
            {"(0018,7026)", "DSDetector Active Dimension(s)"},
            {"(0018,7028)", "DSDetector Active Origin"},
            {"(0018,7030)", "DSField of View Origin"},
            {"(0018,7032)", "DSField of View Rotation"},
            {"(0018,7034)", "CSField of View Horizontal Flip"},
            {"(0018,7040)", "LTGrid Absorbing Material"},
            {"(0018,7041)", "LTGrid Spacing Material"},
            {"(0018,7042)", "DSGrid Thickness"},
            {"(0018,7044)", "DSGrid Pitch"},
            {"(0018,7046)", "ISGrid Aspect Ratio"},
            {"(0018,7048)", "DSGrid Period"},
            {"(0018,704C)", "DSGrid Focal Distance"},
            {"(0018,7050)", "LTFilter Material LT"},
            {"(0018,7052)", "DSFilter Thickness Minimum"},
            {"(0018,7054)", "DSFilter Thickness Maximum"},
            {"(0018,7060)", "CSExposure Control Mode"},
            {"(0018,7062)", "LTExposure Control Mode Description"},
            {"(0018,7064)", "CSExposure Status"},
            {"(0018,7065)", "DSPhototimer Setting"},

            {"(0020,000D)", "UIStudy Instance UID"},
            {"(0020,000E)", "UISeries Instance UID"},
            {"(0020,0010)", "SHStudy ID"},
            {"(0020,0011)", "ISSeries Number"},
            {"(0020,0012)", "ISAcquisition Number"},
            {"(0020,0013)", "ISImage Number"},
            {"(0020,0014)", "ISIsotope Number"},
            {"(0020,0015)", "ISPhase Number"},
            {"(0020,0016)", "ISInterval Number"},
            {"(0020,0017)", "ISTime Slot Number"},
            {"(0020,0018)", "ISAngle Number"},
            {"(0020,0020)", "CSPatient Orientation"},
            {"(0020,0022)", "USOverlay Number"},
            {"(0020,0024)", "USCurve Number"},
            {"(0020,0030)", "DSImage Position"},
            {"(0020,0032)", "DSImage Position (Patient)"},
            {"(0020,0037)", "DSImage Orientation (Patient)"},
            {"(0020,0050)", "DSLocation"},
            {"(0020,0052)", "UIFrame of Reference UID"},
            {"(0020,0060)", "CSLaterality"},
            {"(0020,0070)", "LOImage Geometry Type"},
            {"(0020,0080)", "UIMasking Image UID"},
            {"(0020,0100)", "ISTemporal Position Identifier"},
            {"(0020,0105)", "ISNumber of Temporal Positions"},
            {"(0020,0110)", "DSTemporal Resolution"},
            {"(0020,1000)", "ISSeries in Study"},
            {"(0020,1002)", "ISImages in Acquisition"},
            {"(0020,1004)", "ISAcquisition in Study"},
            {"(0020,1040)", "LOPosition Reference Indicator"},
            {"(0020,1041)", "DSSlice Location"},
            {"(0020,1070)", "ISOther Study Numbers"},
            {"(0020,1200)", "ISNumber of Patient Related Studies"},
            {"(0020,1202)", "ISNumber of Patient Related Series"},
            {"(0020,1204)", "ISNumber of Patient Related Images"},
            {"(0020,1206)", "ISNumber of Study Related Series"},
            {"(0020,1208)", "ISNumber of Study Related Images"},
            {"(0020,4000)", "LTImage Comments"},

            {"(2050,0010)", "SQPresentation LUT Sequence"},
            {"(2050,0020)", "CSPresentation LUT Shape"},
            {"(2050,0500)", "SQReferenced Presentation LUT Sequence"},

            {"(0028,0002)", "USSamples per Pixel"},
            {"(0028,0004)", "CSPhotometric Interpretation"},
            {"(0028,0006)", "USPlanar Configuration"},
            {"(0028,0008)", "ISNumber of Frames"},
            {"(0028,0009)", "ATFrame Increment Pointer"},
            {"(0028,0010)", "USRows"},
            {"(0028,0011)", "USColumns"},
            {"(0028,0030)", "DSPixel Spacing"},
            {"(0028,0031)", "DSZoom Factor"},
            {"(0028,0032)", "DSZoom Center"},
            {"(0028,0034)", "ISPixel Aspect Ratio"},
            {"(0028,0051)", "CSCorrected Image"},
            {"(0028,0100)", "USBits Allocated"},
            {"(0028,0101)", "USBits Stored"},
            {"(0028,0102)", "USHigh Bit"},
            {"(0028,0103)", "USPixel Representation"},
            {"(0028,0106)", "USSmallest Image Pixel Value"},
            {"(0028,0107)", "USLargest Image Pixel Value"},
            {"(0028,0108)", "USSmallest Pixel Value in Series"},
            {"(0028,0109)", "USLargest Pixel Value in Series"},
            {"(0028,0120)", "USPixel Padding Value"},
            {"(0028,0300)", "CSQuality Control Image"},
            {"(0028,0301)", "CSBurned In Annotation"},
            {"(0028,1040)", "CSPixel Intensity Relationship"},
            {"(0028,1041)", "SSPixel Intensity Relationship Sign"},
            {"(0028,1050)", "DSWindow Center"},
            {"(0028,1051)", "DSWindow Width"},
            {"(0028,1052)", "DSRescale Intercept"},
            {"(0028,1053)", "DSRescale Slope"},
            {"(0028,1054)", "LORescale Type"},
            {"(0028,1055)", "LOWindow Center & Width Explanation"},
            {"(0028,1101)", "USRed Palette Color Lookup Table Descriptor"},
            {"(0028,1102)", "USGreen Palette Color Lookup Table Descriptor"},
            {"(0028,1103)", "USBlue Palette Color Lookup Table Descriptor"},
            {"(0028,1201)", "USRed Palette Color Lookup Table Data"},
            {"(0028,1202)", "USGreen Palette Color Lookup Table Data"},
            {"(0028,1203)", "USBlue Palette Color Lookup Table Data"},
            {"(0028,2110)", "CSLossy Image Compression"},
            {"(0028,3000)", "SQModality LUT Sequence"},
            {"(0028,3002)", "USLUT Descriptor"},
            {"(0028,3003)", "LOLUT Explanation"},
            {"(0028,3004)", "LOMadality LUT Type"},
            {"(0028,3006)", "USLUT Data"},
            {"(0028,3010)", "SQVOI LUT Sequence"},
		
            // Group Tag 3002
            {"(3002,0002)", "SHRT Image Label"},
            {"(3002,0003)", "LORT Image Name"},
            {"(3002,0004)", "STRT Image Description"},
            {"(3002,000A)", "CSReported Values Origin"},
            {"(3002,000C)", "CSRT Image Plane"},
            {"(3002,000D)", "DSX-Ray Image Receptor Translation"},
            {"(3002,000E)", "DSX-Ray Image Receptor Angle"},
            {"(3002,0010)", "DSRT Image Orientation"},
            {"(3002,0011)", "DSImage Plane Pixel Spacing"},
            {"(3002,0012)", "DSRT Image Position"},
            {"(3002,0020)", "SHRadiation Machine Name"},
            {"(3002,0022)", "DSRadiation Machine SAD"},
            {"(3002,0024)", "DSRadiation Machine SSD"},
            {"(3002,0026)", "DSRT Image SID"},
            {"(3002,0028)", "DSSource to Reference Object Distance"},
            {"(3002,0029)", "ISFraction Number"},
            {"(3002,0030)", "SQExposure Sequence"},
            {"(3002,0032)", "DSMeterset Exposure"},
            {"(3002,0034)", "DSDiaphragm Position"},
            {"(3002,0040)", "SQFluence Map Sequence"},
            {"(3002,0041)", "CSFluence Data Source"},
            {"(3002,0042)", "DSFluence Data Scale"},

            // Group Tag 3004
            {"(3004,0001)", "CS DVH Type"},
            {"(3004,0002)", "CSDose Units"},
            {"(3004,0004)", "CSDose Type"},
            {"(3004,0006)", "LODose Comment"},
            {"(3004,0008)", "DSNormalization Point"},
            {"(3004,000A)", "CSDose Summation Type"},
            {"(3004,000C)", "DSGrid Frame Offset Vector"},
            {"(3004,000E)", "DSDose Grid Scaling"},
            {"(3004,0010)", "SQRT Dose ROI Sequence"},
            {"(3004,0012)", "DSDose Value"},
            {"(3004,0014)", "CSTissue Heterogeneity Correction"},
            {"(3004,0040)", "DSDVH Normalization Point"},
            {"(3004,0042)", "DSDVH Normalization Dose Value"},
            {"(3004,0050)", "SQDVH Sequence"},
            {"(3004,0052)", "DSDVH Dose Scaling"},
            {"(3004,0054)", "CSDVH Volume Units"},
            {"(3004,0056)", "ISDVH Number of Bins"},
            {"(3004,0058)", "DSDVH Data"},
            {"(3004,0060)", "SQDVH Referenced ROI Sequence"},
            {"(3004,0062)", "CSDVH ROI Contribution Type"},
            {"(3004,0070)", "DSDVH Minimum Dose"},
            {"(3004,0072)", "DSDVH Maximum Dose"},
            {"(3004,0074)", "DSDVH Mean Dose"},

            {"(0032,000A)", "CSStudy Status ID"},
            {"(0032,000C)", "CSStudy Priority ID"},
            {"(0032,0012)", "LOStudy ID Issuer"},
            {"(0032,0032)", "DAStudy Verified Date"},
            {"(0032,0033)", "TMStudy Verified Time"},
            {"(0032,0034)", "DAStudy Read Date"},
            {"(0032,0035)", "TMStudy Read Time"},
            {"(0032,1000)", "DAScheduled Study Start Date"},
            {"(0032,1001)", "TMScheduled Study Start Time"},
            {"(0032,1010)", "DAScheduled Study Stop Date"},
            {"(0032,1011)", "TMScheduled Study Stop Time"},
            {"(0032,1020)", "LOScheduled Study Location"},
            {"(0032,1021)", "AEScheduled Study Location AE Title(s)"},
            {"(0032,1030)", "LOReason for Study"},
            {"(0032,1032)", "PNRequesting Physician"},
            {"(0032,1033)", "LORequesting Service"},
            {"(0032,1040)", "DAStudy Arrival Date"},
            {"(0032,1041)", "TMStudy Arrival Time"},
            {"(0032,1050)", "DAStudy Completion Date"},
            {"(0032,1051)", "TMStudy Completion Time"},
            {"(0032,1055)", "CSStudy Component Status ID"},
            {"(0032,1060)", "LORequested Procedure Description"},
            {"(0032,1064)", "SQRequested Procedure Code Sequence"},
            {"(0032,1070)", "LORequested Contrast Agent"},
            {"(0032,4000)", "LTStudy Comments"},

            {"(0040,0001)", "AEScheduled Station AE Title"},
            {"(0040,0002)", "DAScheduled Procedure Step Start Date"},
            {"(0040,0003)", "TMScheduled Procedure Step Start Time"},
            {"(0040,0004)", "DAScheduled Procedure Step End Date"},
            {"(0040,0005)", "TMScheduled Procedure Step End Time"},
            {"(0040,0006)", "PNScheduled Performing Physician's Name"},
            {"(0040,0007)", "LOScheduled Procedure Step Description"},
            {"(0040,0008)", "SQScheduled Action Item Code Sequence"},
            {"(0040,0009)", "SHScheduled Procedure Step ID"},
            {"(0040,0010)", "SHScheduled Station Name"},
            {"(0040,0011)", "SHScheduled Procedure Step Location"},
            {"(0040,0012)", "LOPre-Medication"},
            {"(0040,0020)", "CSScheduled Procedure Step Status"},
            {"(0040,0100)", "SQScheduled Procedure Step Sequence"},
            {"(0040,0220)", "SQReferenced Standalone SOP Instance Sequence"},
            {"(0040,0241)", "AEPerformed Station AE Title"},
            {"(0040,0242)", "SHPerformed Station Name"},
            {"(0040,0243)", "SHPerformed Location"},
            {"(0040,0244)", "DAPerformed Procedure Step Start Date"},
            {"(0040,0245)", "TMPerformed Procedure Step Start Time"},
            {"(0040,0250)", "DAPerformed Procedure Step End Date"},
            {"(0040,0251)", "TMPerformed Procedure Step End Time"},
            {"(0040,0252)", "CSPerformed Procedure Step Status"},
            {"(0040,0253)", "SHPerformed Procedure Step ID"},
            {"(0040,0254)", "LOPerformed Procedure Step Description"},
            {"(0040,0255)", "LOPerformed Procedure Type Description"},
            {"(0040,0260)", "SQPerformed Action Item Sequence"},
            {"(0040,0270)", "SQScheduled Step Attributes Sequence"},
            {"(0040,0275)", "SQRequest Attributes Sequence"},
            {"(0040,0280)", "STComments on the Performed Procedure Steps"},
            {"(0040,0293)", "SQQuantity Sequence"},
            {"(0040,0294)", "DSQuantity"},
            {"(0040,0295)", "SQMeasuring Units Sequence"},
            {"(0040,0296)", "SQBilling Item Sequence"},
            {"(0040,0300)", "USTotal Time of Fluoroscopy"},
            {"(0040,0301)", "USTotal Number of Exposures"},
            {"(0040,0302)", "USEntrance Dose"},
            {"(0040,0303)", "USExposed Area"},
            {"(0040,0306)", "DSDistance Source to Entrance"},
            {"(0040,0307)", "DSDistance Source to Support"},
            {"(0040,0310)", "STComments on Radiation Dose"},
            {"(0040,0312)", "DSX-Ray Output"},
            {"(0040,0314)", "DSHalf Value Layer"},
            {"(0040,0316)", "DSOrgan Dose"},
            {"(0040,0318)", "CSOrgan Exposed"},
            {"(0040,0320)", "SQBilling Procedure Step Sequence"},
            {"(0040,0321)", "SQFilm Consumption Sequence"},
            {"(0040,0324)", "SQBilling Supplies and Devices Sequence"},
            {"(0040,0330)", "SQReferenced Procedure Step Sequence"},
            {"(0040,0340)", "SQPerformed Series Sequence"},
            {"(0040,0400)", "LTComments on the Scheduled Procedure Step"},
            {"(0040,050A)", "LOSpecimen Accession Number"},
            {"(0040,0550)", "SQSpecimen Sequence"},
            {"(0040,0551)", "LOSpecimen Identifier"},
            {"(0040,059A)", "SQSpecimen Type Code Sequence"},
            {"(0040,0555)", "SQAcquisition Context Sequence"},
            {"(0040,0556)", "STAcquisition Context Description"},
            {"(0040,06FA)", "LOSlide Identifier"},
            {"(0040,071A)", "SQImage Center Point Coordinates Sequence"},
            {"(0040,072A)", "DSX offset in Slide Coordinate System"},
            {"(0040,073A)", "DSY offset in Slide Coordinate System"},
            {"(0040,074A)", "DSZ offset in Slide Coordinate System"},
            {"(0040,08D8)", "SQPixel Spacing Sequence"},
            {"(0040,08DA)", "SQCoordinate System Axis Code Sequence"},
            {"(0040,08EA)", "SQMeasurement Units Code Sequence"},
            {"(0040,1001)", "SHRequested Procedure ID"},
            {"(0040,1002)", "LOReason for the Requested Procedure"},
            {"(0040,1003)", "SHRequested Procedure Priority"},
            {"(0040,1004)", "LOPatient Transport Arrangements"},
            {"(0040,1005)", "LORequested Procedure Location"},
            {"(0040,1006)", " 1Placer Order Number / Procedure S"},
            {"(0040,1007)", " 1Filler Order Number / Procedure S"},
            {"(0040,1008)", "LOConfidentiality Code"},
            {"(0040,1009)", "SHReporting Priority"},
            {"(0040,1010)", "PNNames of Intended Recipients of Results"},
            {"(0040,1400)", "LTRequested Procedure Comments"},
            {"(0040,2001)", "LOReason for the Imaging Service Request"},
            {"(0040,2004)", "DAIssue Date of Imaging Service Request"},
            {"(0040,2005)", "TMIssue Time of Imaging Service Request"},
            {"(0040,2006)", " 1Placer Order Number / Imaging Service Request S"},
            {"(0040,2007)", " 1Filler Order Number / Imaging Service Request S"},
            {"(0040,2008)", "PNOrder Entered By"},
            {"(0040,2009)", "SHOrder Enterers Location"},
            {"(0040,2010)", "SHOrder Callback Phone Number"},
            {"(0040,2016)", "LOPlacer Order Number / Imaging Service Request"},
            {"(0040,2017)", "LOFiller Order Number / Imaging Service Request"},
            {"(0040,2400)", "LTImaging Service Request Comments"},
            {"(0040,3001)", "LOConfidentiality Constraint on Patient Data Description"},
            {"(0040,8302)", "DSEntrance Dose in mGy"},
            {"(0040,A010)", "CSRelationship Type"},
            {"(0040,A027)", "LOVerifying Organization"},
            {"(0040,A030)", "DTVerification DateTime"},
            {"(0040,A032)", "DTObservation DateTime"},
            {"(0040,A040)", "CSValue Type"},
            {"(0040,A043)", "SQConcept-name Code Sequence"},
            {"(0040,A050)", "CSContinuity Of Content"},
            {"(0040,A073)", "SQVerifying Observer Sequence"},
            {"(0040,A075)", "PNVerifying Observer Name"},
            {"(0040,A088)", "SQVerifying Observer Identification Code Sequence"},
            {"(0040,A0B0)", "USReferenced Waveform Channels"},
            {"(0040,A120)", "DTDateTime"},
            {"(0040,A121)", "DADate"},
            {"(0040,A122)", "TMTime"},
            {"(0040,A123)", "PNPerson Name"},
            {"(0040,A124)", "UIUID"},
            {"(0040,A130)", "CSTemporal Range Type"},
            {"(0040,A132)", "ULReferenced Sample Positions"},
            {"(0040,A136)", "USReferenced Frame Numbers"},
            {"(0040,A138)", "DSReferenced Time Offsets"},
            {"(0040,A13A)", "DTReferenced Datetime"},
            {"(0040,A160)", "UTText Value"},
            {"(0040,A168)", "SQConcept Code Sequence"},
            {"(0040,A180)", "USAnnotation Group Number"},
            {"(0040,A195)", "SQModifier Code Sequence"},
            {"(0040,A300)", "SQMeasured Value Sequence"},
            {"(0040,A30A)", "DSNumeric Value"},
            {"(0040,A360)", "SQPredecessor Documents Sequence"},
            {"(0040,A370)", "SQReferenced Request Sequence"},
            {"(0040,A372)", "SQPerformed Procedure Code Sequence"},
            {"(0040,A375)", "SQCurrent Requested Procedure Evidence Sequence"},
            {"(0040,A385)", "SQPertinent Other Evidence Sequence"},
            {"(0040,A491)", "CSCompletion Flag"},
            {"(0040,A492)", "LOCompletion Flag Description"},
            {"(0040,A493)", "CSVerification Flag"},
            {"(0040,A504)", "SQContent Template Sequence"},
            {"(0040,A525)", "SQIdentical Documents Sequence"},
            {"(0040,A730)", "SQContent Sequence"},
            {"(0040,B020)", "SQAnnotation Sequence"},
            {"(0040,DB00)", "CSTemplate Identifier"},
            {"(0040,DB06)", "DTTemplate Version"},
            {"(0040,DB07)", "DTTemplate Local Version"},
            {"(0040,DB0B)", "CSTemplate Extension Flag"},
            {"(0040,DB0C)", "UITemplate Extension Organization UID"},
            {"(0040,DB0D)", "UITemplate Extension Creator UID"},
            {"(0040,DB73)", "ULReferenced Content Item Identifier"},

            {"(0054,0011)", "USNumber of Energy Windows"},
            {"(0054,0012)", "SQEnergy Window Information Sequence"},
            {"(0054,0013)", "SQEnergy Window Range Sequence"},
            {"(0054,0014)", "DSEnergy Window Lower Limit"},
            {"(0054,0015)", "DSEnergy Window Upper Limit"},
            {"(0054,0016)", "SQRadiopharmaceutical Information Sequence"},
            {"(0054,0017)", "ISResidual Syringe Counts"},
            {"(0054,0018)", "SHEnergy Window Name"},
            {"(0054,0020)", "USDetector Vector"},
            {"(0054,0021)", "USNumber of Detectors"},
            {"(0054,0022)", "SQDetector Information Sequence"},
            {"(0054,0030)", "USPhase Vector"},
            {"(0054,0031)", "USNumber of Phases"},
            {"(0054,0032)", "SQPhase Information Sequence"},
            {"(0054,0033)", "USNumber of Frames in Phase"},
            {"(0054,0036)", "ISPhase Delay"},
            {"(0054,0038)", "ISPause Between Frames"},
            {"(0054,0039)", "CSPhase Description"},
            {"(0054,0050)", "USRotation Vector"},
            {"(0054,0051)", "USNumber of Rotations"},
            {"(0054,0052)", "SQRotation Information Sequence"},
            {"(0054,0053)", "USNumber of Frames in Rotation"},
            {"(0054,0060)", "USR-R Interval Vector"},
            {"(0054,0061)", "USNumber of R-R Intervals"},
            {"(0054,0062)", "SQGated Information Sequence"},
            {"(0054,0063)", "SQData Information Sequence"},
            {"(0054,0070)", "USTime Slot Vector"},
            {"(0054,0071)", "USNumber of Time Slots"},
            {"(0054,0072)", "SQTime Slot Information Sequence"},
            {"(0054,0073)", "DSTime Slot Time"},
            {"(0054,0080)", "USSlice Vector"},
            {"(0054,0081)", "USNumber of Slices"},
            {"(0054,0090)", "USAngular View Vector"},
            {"(0054,0100)", "USTime Slice Vector"},
            {"(0054,0101)", "USNumber of Time Slices"},
            {"(0054,0200)", "DSStart Angle"},
            {"(0054,0202)", "CSType of Detector Motion"},
            {"(0054,0210)", "ISTrigger Vector"},
            {"(0054,0211)", "USNumber of Triggers in Phase"},
            {"(0054,0220)", "SQView Code Sequence"},
            {"(0054,0222)", "SQView Modifier Code Sequence"},
            {"(0054,0300)", "SQRadionuclide Code Sequence"},
            {"(0054,0302)", "SQAdministration Route Code Sequence"},
            {"(0054,0304)", "SQRadiopharmaceutical Code Sequence"},
            {"(0054,0306)", "SQCalibration Data Sequence"},
            {"(0054,0308)", "USEnergy Window Number"},
            {"(0054,0400)", "SHImage ID"},
            {"(0054,0410)", "SQPatient Orientation Code Sequence"},
            {"(0054,0412)", "SQPatient Orientation Modifier Code Sequence"},
            {"(0054,0414)", "SQPatient Gantry Relationship Code Sequence"},
            {"(0054,0500)", "CSSlice Progression Direction"},
            {"(0054,1000)", "CSSeries Type"},
            {"(0054,1001)", "CSUnits"},
            {"(0054,1002)", "CSCounts Source"},
            {"(0054,1004)", "CSReprojection Method"},
            {"(0054,1100)", "CSRandoms Correction Method"},
            {"(0054,1101)", "LOAttenuation Correction Method"},
            {"(0054,1102)", "CSDecay Correction"},
            {"(0054,1103)", "LOReconstruction Method"},
            {"(0054,1104)", "LODetector Lines of Response Used"},
            {"(0054,1105)", "LOScatter Correction Method"},
            {"(0054,1200)", "DSAxial Acceptance"},
            {"(0054,1201)", "ISAxial Mash"},
            {"(0054,1202)", "ISTransverse Mash"},
            {"(0054,1203)", "DSDetector Element Size"},
            {"(0054,1210)", "DSCoincidence Window Width"},
            {"(0054,1220)", "CSSecondary Counts Type"},
            {"(0054,1300)", "DSFrame Reference Time"},
            {"(0054,1310)", "ISPrimary (Prompts) Counts Accumulated"},
            {"(0054,1311)", "ISSecondary Counts Accumulated"},
            {"(0054,1320)", "DSSlice Sensitivity Factor"},
            {"(0054,1321)", "DSDecay Factor"},
            {"(0054,1322)", "DSDose Calibration Factor"},
            {"(0054,1323)", "DSScatter Fraction Factor"},
            {"(0054,1324)", "DSDead Time Factor"},
            {"(0054,1330)", "USImage Index"},
            {"(0054,1400)", "CSCounts Included"},
            {"(0054,1401)", "CSDead Time Correction Flag"},
        
            {"(7FE0,0010)", "OXPixel Data"}, // Represents OB or OW type of VR

            {"(FFFE,E000)", "DLItem"},
            {"(FFFE,E00D)", "DLItem Delimitation Item"},
            {"(FFFE,E0DD)", "DLSequence Delimitation Item"} 
        };
        #endregion

        public static String TagDiscription(String tag)
        {
            try
            {
                return dict[tag];
            }
            catch (Exception)
            {
                return null;
            }
        }
    }
}
